Package pl.wendigo.chrome.protocol

Contains DevTools protocol representation classes:

  • ProtocolConnection is a class responsible for sending and receiving protocol responses and events over WebsocketFramesStream

  • Event is a parent class of all events that are generated by protocol

    • RawEvent represents an event that is parameterless

  • Domain is parent class of all protocol domain classes

  • Domains is parent class representing whole protocol with all Domains

Types

DeserializationFailed
Link copied to clipboard
class DeserializationFailed(message: String, throwable: Throwable?) : Exception
Frame deserialization failed on object mapper.
Domain
Link copied to clipboard
open class Domain(name: String, description: String, connection: ProtocolConnection)
Domains
Link copied to clipboard
open class Domains : Closeable, AutoCloseable
Event
Link copied to clipboard
interface Event
Represents event that can be generated by Chrome's debugger.
EventMapper
Link copied to clipboard
class EventMapper
EventMapper is responsible for mapping events carried by EventResponseFrame to concrete events representations.
Experimental
Link copied to clipboard
annotation class Experimental
This annotation is used on DevTools Protocol APIs and types that are marked as experimental.
InspectorCommandFailed
Link copied to clipboard
class InspectorCommandFailed(message: String, throwable: Throwable?) : Exception
Inspector command has failed.
ProtocolConnection
Link copied to clipboard
class ProtocolConnection(frames: WebSocketFramesStream, eventMapper: EventMapper, sessionId: SessionID?) : Closeable, AutoCloseable
ProtocolConnection represents connection to chrome's debugger via DevTools Protocol.
RawEvent
Link copied to clipboard
class RawEvent(domain: String, eventName: String, sessionId: SessionID?) : Event
Represents parameterless Event that does not contain any parameters.
RequestFailed
Link copied to clipboard
class RequestFailed(message: String, throwable: Throwable?) : Exception
Protocol request has failed.
SerializationFailed
Link copied to clipboard
class SerializationFailed(message: String, throwable: Throwable?) : Exception
Frame serialization failed on object mapper.